﻿@model OnlinePharmacyV001.Models.Account

@{
    ViewBag.Title = "Details";
}

<h2>Details</h2>

<fieldset>
    <legend>Account</legend>

    <div class="display-label">accId</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.accId)
    </div>

    <div class="display-label">accUser</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.accUser)
    </div>

    <div class="display-label">accPass</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.accPass)
    </div>

    <div class="display-label">accFullName</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.accFullName)
    </div>

    <div class="display-label">accEmail</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.accEmail)
    </div>

    <div class="display-label">accBirthday</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.accBirthday)
    </div>

    <div class="display-label">accGender</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.accGender)
    </div>

    <div class="display-label">accCreatedDate</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.accCreatedDate)
    </div>

    <div class="display-label">accLastLogin</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.accLastLogin)
    </div>

    <div class="display-label">accAddress</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.accAddress)
    </div>

    <div class="display-label">accPhone</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.accPhone)
    </div>

    <div class="display-label">accCompany</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.accCompany)
    </div>

    <div class="display-label">Role</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Role.rlName)
    </div>

    <div class="display-label">accStatus</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.accStatus)
    </div>
</fieldset>
<p>
    @Html.ActionLink("Edit", "Edit", new {  id=Model.accId }) |
    @Html.ActionLink("Back to List", "Index")
</p>
